package com.jason.bbs.pms.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.jason.bbs.bean.ResultJson;
import com.jason.bbs.bean.user.UserInfo;

import feign.Headers;

@FeignClient(name = "service-user")
public interface UserService {
	@GetMapping("/find")
	@Headers({ "token: 1" })
	public ResultJson find(@RequestParam("account")String account, @RequestParam("password")String password);
}
